If the last line of a file is empty and we try to comment it (TextTools, Toggle Line
Comment), we get an exception:
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 16026
at org.gjt.sp.jedit.buffer.JEditBuffer.getLineOfOffset(JEditBuffer.java:336)
at org.gjt.sp.jedit.buffer.JEditBuffer.getRuleSetAtOffset(JEditBuffer.java:1756)
at org.gjt.sp.jedit.buffer.JEditBuffer.getContextSensitiveProperty(JEditBuffer.java:1791)
at org.gjt.sp.jedit.Buffer.getContextSensitiveProperty(Buffer.java:1069)
at TextToolsComments.toggleLineComments(Unknown Source)
... rest not important I guess
Today's svn.
| Submitted | jarekczek - 2011-07-30 17:15:43 | Assigned | |
|---|---|---|---|
| Priority | 5 | Labels | |
| Status | open | Group | None |
| Resolution | None |